---
title: URLSearchParams.set()
api: URLSearchParams.set
---

## Description

<Summary/>

## Syntax

``` js
urlSearchParams.set(name, value)
```

## Parameters

<Parameters/>

## See Also

* [URLSearchParams](/reference/api/URLSearchParams)
* [get()](/reference/api/URLSearchParams/get)
* [getAll()](/reference/api/URLSearchParams/getAll)
